using System;
using System.Collections.Generic;
using System.Text;

namespace Ruction
{
    internal static class NetworkHelper
    {
        internal static Client StartServer()
        {
            return Server.StartUp();
        }

        internal static void StopServer()
        {
            Server.ShutDown();
        }

        internal static Client JoinGame(string address, int port)
        {
            Client client = new Client();
            client.ConnectTo(address, port);

            return client;
        }
    }
}
